A Metamodel-Based OCL-Compiler for UML and MOF

نویسندگان

  • Sten Loecher
  • Stefan Ocke
چکیده

After becoming part of the UML standard, OCL has been applied successfully in various domains. As a result, requirements to be met by future versions of OCL have evolved. A key requirement is to provide means for the formal integration of OCL and UML. Therefore, the latest proposal for a revised specification of OCL contains a metamodel defining the language concepts and semantics. Based on this metamodel, we are currently redesigning the Dresden OCL Toolkit. Apart from basic functionality for processing OCL expressions, the toolkit is designed to support the evaluation of well-formedness rules defined on both models and metamodels. In this paper, we introduce the revised architecture of the toolkit. The alignment of OCL with UML and MOF is discussed and several concepts for the explicit modelling of dependencies between these metamodels are presented. Finally, we prove the adequacy of our design by presenting a code generator for the evaluation of well-formedness rules.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Sharing OWL/SWRL and UML/OCL Rules

The paper presents a metamodel-driven model transformation approach to sharing rules between the Semantic Web Rule Language along with the Web Ontology Language (OWL/SWRL) and Object Constraint Language (OCL) along with UML (UML/OCL). The solution is based on the REWERSE Rule Markup Language (R2ML), a MOF-defined general rule language, as a pivotal metamodel and the bi-directional transformatio...

متن کامل

Towards Sharing Rules Between OWL/SWRL and UML/OCL

The paper presents a metamodel-driven model transformation approach to interchanging rules between the Semantic Web Rule Language along with the Web Ontology Language (OWL/SWRL) and Object Constraint Language (OCL) along with UML (UML/OCL). The solution is based on the REWERSE Rule Markup Language (R2ML), a MOF-defined general rule language, as a pivotal metamodel and the bidirectional transfor...

متن کامل

On Interchanging Between OWL/SWRL and UML/OCL

The paper presents a metamodel-driven model transformation approach to interchanging rules between the Semantic Web Rule Language along with the Web Ontology Language (OWL/SWRL) and Object Constraint Language (OCL) along with UML (UML/OCL). The solution is based on the REWERSE Rule Markup Language (R2ML), a MOF-defined general rule language, as a pivotal metamodel and the bi-directional transfo...

متن کامل

Specifying Coupling and Cohesion Metrics using OCL and Alloy

This report presents a MOF-compliant metamodel for calculating software metrics and demonstrates how it is used to generate a metrics tool that calculates coupling and cohesion metrics. We also describe a systematic approach to the analysis of MOF-compliant metamodels and illustrate the approach using the presented metamodel. In this approach, we express the metamodel using UML and OCL and harn...

متن کامل

Exploiting the ASM method within the Model-driven Engineering paradigm

Model-driven Engineering (MDE) [3] is an emerging approach for software development and analysis where models play the fundamental role of first-class artifacts. Metamodelling is a key concept of the MDE paradigm and it is intended as a modular and layered way to endow a language or a formalism with an abstract notation, so separating the abstract syntax and semantics of the language constructs...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Electr. Notes Theor. Comput. Sci.

دوره 102  شماره 

صفحات  -

تاریخ انتشار 2004